using UnityEngine;
using System.Collections;

public class Gui : MonoBehaviour {

    Rect botonIniciar;
    Rect botonSalir;
            
    // Use this for initialization
	void Start () {
        Screen.showCursor = true;
        botonIniciar = new Rect((Screen.width/2)-160, Screen.height/2 + 150, 320, 80);
        botonSalir = new Rect((Screen.width / 2) - 160, Screen.height / 2 + 250, 320, 80);
	}
	
	// Update is called once per frame
	void Update () {

    }

    void OnGUI() {

        if (GUI.Button(botonIniciar, "Iniciar")) {
            Application.LoadLevel("escena_dos");
        }
        
        if (GUI.Button(botonSalir, "Salir")) {
            Application.Quit();
        }
    }
}
